package com.yyds.controller;


import com.yyds.common.MyJSON;
import com.yyds.common.R;
import com.yyds.service.VaccineVaccinatorVoService;
import com.yyds.service.VaccineVaccineService;
import com.yyds.vo.VaccineVaccinatorVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

@RestController
@RequestMapping("/admin/vaccine/vaccinatorVo")
public class VaccineVaccinatorVoController {

    @Autowired
    @Qualifier("vaccineVaccinatorsVoService")
    private VaccineVaccinatorVoService vaccineVaccinatorsVoService;

    //查询人员接种信息
    @RequestMapping("/queryAllVaccinator")
    public MyJSON<VaccineVaccinatorVo> queryAllVaccineVaccinatorsVoController(@RequestParam Map<String, Object> map) {
       return vaccineVaccinatorsVoService.queryAllVaccineVaccinatorService(map);
    }





}
